<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite App</title>
  </head>
  <body>
    <div>
      <input id="filePath" />
      <button id="loadFile">加载文件</button>
      <select id="fileType">
        <option value="cgns">cgns</option>
        <option value="bdf">bdf</option>
        <option value="vtp">vtp</option>
        <option value="msh">msh</option>
      </select>
      <button id="getAttr">获取物理量</button>
      <select id="select"></select>
      <button id="render">渲染当前物理量</button>
      <button id="cmd.topology.get">获取拓扑结构</button>
      <button id="cmd.attribute.get">获取物理量数据</button>
      <select id="cmd.render.mode">
        <option value="SURFACE">面</option>
        <option value="WIREFRAME">线框</option>
        <option value="SURFACE_WITH_EDGE">带线的网格</option>
      </select>
      <button id="cmd.render.clear">清空</button>
      <button id="cmd.actor.color.reset">重置颜色</button>
      <input id="highlight.bid" />
      <input id="highlight.color" placeholder="颜色"></input>
      <button id="cmd.render.highlight">高亮区域</button>
      <button id="cmd.render.highlight.reset">重置高亮</button>
      <button id="cmd.mesh.list">获取网格列表</button>
      <input id="highlight.celltype" />
      <button id="cmd.render.highlight.celltype">高亮单元类型</button>
      <input id="cmd.render.show.v" />
      <button id="cmd.render.show">切换显示</button>
      <textarea name="" id="cmd.fx.run.value"></textarea>
      <button id="cmd.fx.run">执行脚本▶</button>
    </div>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
